home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text1228.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  2.6 KB  |  76 lines

  1. Something like ISMAP is what you'd want for applications like, say,
  2. a cartographic service, where the user could select an area (mouseDown
  3. for x0,y0, mouseUp for x1,y1), and have the selected area sent to the
  4. server, which will return the image (or vectors) for the new area.
  5. And in the future (with common availability of 3D pointing devices :-) 
  6. this should be easily extensible to 3D-space selection. 
  7.  
  8. This sort of application would be tedious (probably impossible for 3D case)
  9. and clumsy to implement with the area-overlay-buttons approach.
  10.  
  11. However, one could think of lots of other applications where it would 
  12. be easier and more appropriate to use area-overlay-buttons. Just look at
  13. the numerous HyperCard stackwares that use ``invisible fields'' to
  14. implement highly neat effects. This approach, however hard-coded but
  15. no more than ``HREF='' is hard-coded, has the benefits of no necessary
  16. dependence on a server.
  17.  
  18. So, as I've indicated to Tony before off www-talk, I feel that both are
  19. necessary and have their respective uses. In HMML (my working version 
  20. anyway-- have to sync it with Dave), there's a FIGURE tag which could 
  21. be used in the following ways (fictitious services):
  22.  
  23. As with <IMG>:
  24.  
  25.     <FIGURE SRC="http://smithsonian.gov/gallery/irises.gif" 
  26.         TYPE="image/gif">
  27.  
  28. Includes a figure specific caption:
  29.  
  30.     <FIGURE SRC="http://smithsonian.gov/gallery/irises.gif" 
  31.         TYPE="image/gif">
  32.       <FIGCAP>Irises, 1889, Vincent Van Gogh</FIGCAP>
  33.     </FIGURE>
  34.  
  35. Includes the actual figure data:
  36.  
  37.     <FIGURE TYPE="application/tex">
  38.       <FIGDATA>
  39.       ...the actual TeX notation...
  40.       </FIGDATA>
  41.     </FIGURE>
  42.  
  43. An example of ISMAP usage -- server generates and returns the selected
  44. topographic region in postscript form:
  45.  
  46.     <FIGURE SRC="http://usgs.gov/maps/topographic.ps"
  47.         TYPE="application/postscript"
  48.         ISMAP>
  49.  
  50. An example of invisible/see-thru buttons overlaying an image -- face.gif
  51. is visible, and has two invisible area oriented anchors pointing to 
  52. eyes.gif and mouth.gif respectively. Probably unnecessary, but WIDTH & 
  53. HEIGHT could be specified to handle scaling. Also, perhaps <FIGA> should
  54. simply be <A>. :
  55.  
  56.     <FIGURE SRC="http://sesame-st.org/whatis/face.gif" TYPE="image/gif"
  57.         WIDTH=100 HEIGHT=100>
  58.       <FIGA HREF="http://sesame-st.org/whatis/eyes.gif" TYPE="image/gif"
  59.         x0=20 y0=10 x1=80 y1=30>
  60.       <FIGA HREF="http://sesame-st.org/whatis/mouth.gif" TYPE="image/gif"
  61.         x0=40 y0=70 x1=60 y1=80>
  62.       <FIGCAP>Spy a face</FIGCAP>
  63.     </FIGURE>
  64.  
  65.  
  66. I would, and I'm sure Dave would, appreciate constructive arguments 
  67. for or against <FIGURE> as described above. It's of course still very 
  68. open to suggestions at this point.
  69.  
  70.  
  71. Pei Y. Wei
  72. O'Reilly & Associates
  73. Digital Media Group
  74. pei@ora.com
  75.  
  76.